home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 10 / BBS In A Box Volume X (AMUG) (January 1994).bin / Files / Prog / U-Z / ViewIt 2.2 Shareware.cpt / ViewIt™ 2.2 Shareware / Projects / Absoft MacFortran II 3.2 Demos / vDemoAF.f < prev    next >
MacBinary  |  1993-09-21  |  5.1 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Freeze Frozen Compressed File (archive/freeze) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert MathVISION Formula (other/mathVISIONFormula) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Tue Sep 21 00:08:46 1993, modified Tue Sep 21 00:08:46 1993, creator 'MPS ', type ASCII, 4593 bytes "vDemoAF.f" , at 0x1271 428 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 76 44 65 6d 6f 41 | 46 2e 66 00 00 00 00 00 |..vDemoA|F.f.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 11 f1 00 | 00 01 ac a8 c4 2e ce a8 |........|........|
|00000060| c4 2e ce 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 af 55 00 00 |........|.....U..|
|00000080| 43 20 4e 4f 54 45 3a 20 | 52 65 61 64 20 74 68 65 |C NOTE: |Read the|
|00000090| 20 22 4d 50 57 20 46 6f | 72 74 72 61 6e 73 22 20 | "MPW Fo|rtrans" |
|000000a0| 73 65 63 74 69 6f 6e 20 | 6f 66 20 22 41 62 6f 75 |section |of "Abou|
|000000b0| 74 20 43 6f 6d 70 69 6c | 65 72 73 22 0d 43 20 62 |t Compil|ers".C b|
|000000c0| 65 66 6f 72 65 20 63 6f | 6d 70 69 6c 69 6e 67 20 |efore co|mpiling |
|000000d0| 41 46 20 70 72 6f 67 72 | 61 6d 73 20 74 68 61 74 |AF progr|ams that|
|000000e0| 20 75 73 65 20 46 61 63 | 65 57 61 72 65 20 6d 6f | use Fac|eWare mo|
|000000f0| 64 75 6c 65 73 2e 0d 0d | 43 20 56 69 65 77 49 74 |dules...|C ViewIt|
|00000100| 20 32 2e 32 20 44 65 6d | 6f 6e 73 74 72 61 74 69 | 2.2 Dem|onstrati|
|00000110| 6f 6e 20 50 72 6f 67 72 | 61 6d 0d 43 20 a9 46 61 |on Progr|am.C .Fa|
|00000120| 63 65 57 61 72 65 20 31 | 39 39 31 2d 39 33 2e 20 |ceWare 1|991-93. |
|00000130| 41 6c 6c 20 52 69 67 68 | 74 73 20 52 65 73 65 72 |All Righ|ts Reser|
|00000140| 76 65 64 2e 0d 0d 09 47 | 4c 4f 42 41 4c 20 44 45 |ved....G|LOBAL DE|
|00000150| 46 49 4e 45 0d 09 69 6e | 63 6c 75 64 65 20 22 54 |FINE..in|clude "T|
|00000160| 79 70 65 73 2e 69 6e 63 | 22 0d 09 69 6e 63 6c 75 |ypes.inc|"..inclu|
|00000170| 64 65 20 22 51 75 69 63 | 6b 44 72 61 77 2e 69 6e |de "Quic|kDraw.in|
|00000180| 63 22 0d 09 69 6e 63 6c | 75 64 65 20 22 43 6f 6e |c"..incl|ude "Con|
|00000190| 74 72 6f 6c 73 2e 69 6e | 63 22 0d 09 69 6e 63 6c |trols.in|c"..incl|
|000001a0| 75 64 65 20 22 45 76 65 | 6e 74 73 2e 69 6e 63 22 |ude "Eve|nts.inc"|
|000001b0| 0d 09 69 6e 63 6c 75 64 | 65 20 22 4f 53 55 74 69 |..includ|e "OSUti|
|000001c0| 6c 73 2e 69 6e 63 22 0d | 09 69 6e 63 6c 75 64 65 |ls.inc".|.include|
|000001d0| 20 22 4f 53 45 76 65 6e | 74 73 2e 69 6e 63 22 0d | "OSEven|ts.inc".|
|000001e0| 09 69 6e 63 6c 75 64 65 | 20 22 53 65 67 4c 6f 61 |.include| "SegLoa|
|000001f0| 64 2e 69 6e 63 22 0d 09 | 69 6e 63 6c 75 64 65 20 |d.inc"..|include |
|00000200| 22 46 69 6c 65 73 2e 69 | 6e 63 22 0d 09 69 6e 63 |"Files.i|nc"..inc|
|00000210| 6c 75 64 65 20 22 52 65 | 73 6f 75 72 63 65 73 2e |lude "Re|sources.|
|00000220| 69 6e 63 22 0d 09 69 6e | 63 6c 75 64 65 20 22 46 |inc"..in|clude "F|
|00000230| 61 63 65 53 74 6f 72 41 | 46 2e 69 6e 63 22 0d 09 |aceStorA|F.inc"..|
|00000240| 45 4e 44 0d 0d 09 69 6e | 63 6c 75 64 65 20 22 46 |END...in|clude "F|
|00000250| 61 63 65 50 72 6f 63 41 | 46 2e 69 6e 63 22 0d 0d |aceProcA|F.inc"..|
|00000260| 20 20 20 20 20 20 50 52 | 4f 47 52 41 4d 20 76 44 | PR|OGRAM vD|
|00000270| 65 6d 6f 41 46 0d 09 69 | 6d 70 6c 69 63 69 74 20 |emoAF..i|mplicit |
|00000280| 6e 6f 6e 65 0d 20 20 20 | 20 20 20 72 65 63 6f 72 |none. | recor|
|00000290| 64 20 2f 46 61 63 65 52 | 65 63 2f 20 66 52 65 63 |d /FaceR|ec/ fRec|
|000002a0| 0d 20 20 20 20 20 20 63 | 6f 6d 6d 6f 6e 2f 46 61 |. c|ommon/Fa|
|000002b0| 63 65 53 74 75 66 66 2f | 66 52 65 63 0d 09 73 74 |ceStuff/|fRec..st|
|000002c0| 72 75 63 74 75 72 65 20 | 2f 44 61 74 61 52 65 63 |ructure |/DataRec|
|000002d0| 2f 0d 09 20 20 69 6e 74 | 65 67 65 72 2a 32 20 6d |/.. int|eger*2 m|
|000002e0| 79 49 6e 74 65 67 65 72 | 0d 09 20 20 72 65 61 6c |yInteger|.. real|
|000002f0| 2a 34 20 6d 79 52 65 61 | 6c 0d 09 20 20 63 68 61 |*4 myRea|l.. cha|
|00000300| 72 61 63 74 65 72 2a 31 | 30 30 20 6d 79 53 74 72 |racter*1|00 myStr|
|00000310| 69 6e 67 0d 09 20 20 69 | 6e 74 65 67 65 72 2a 34 |ing.. i|nteger*4|
|00000320| 20 6d 79 46 6c 61 67 73 | 0d 09 65 6e 64 20 73 74 | myFlags|..end st|
|00000330| 72 75 63 74 75 72 65 0d | 09 72 65 63 6f 72 64 2f |ructure.|.record/|
|00000340| 44 61 74 61 52 65 63 2f | 6d 79 52 65 63 0d 09 72 |DataRec/|myRec..r|
|00000350| 65 61 6c 2a 34 20 74 68 | 65 52 65 61 6c 2c 64 65 |eal*4 th|eReal,de|
|00000360| 6c 74 61 0d 09 6c 6f 67 | 69 63 61 6c 2a 34 20 68 |lta..log|ical*4 h|
|00000370| 65 6c 70 53 68 6f 77 6e | 0d 09 69 6e 74 65 67 65 |elpShown|..intege|
|00000380| 72 2a 32 20 6d 79 4c 69 | 73 74 0d 09 69 6e 74 65 |r*2 myLi|st..inte|
|00000390| 67 65 72 2a 34 20 6d 79 | 50 74 72 2c 6f 6c 64 54 |ger*4 my|Ptr,oldT|
|000003a0| 69 63 6b 73 2c 6e 65 77 | 54 69 63 6b 73 0d 09 69 |icks,new|Ticks..i|
|000003b0| 6e 74 65 67 65 72 2a 34 | 20 4f 76 65 72 50 72 6f |nteger*4| OverPro|
|000003c0| 63 0d 09 70 61 73 63 61 | 6c 20 65 78 74 65 72 6e |c..pasca|l extern|
|000003d0| 61 6c 20 4f 76 65 72 50 | 72 6f 63 0d 0d 09 6d 79 |al OverP|roc...my|
|000003e0| 52 65 63 2e 6d 79 49 6e | 74 65 67 65 72 20 3d 20 |Rec.myIn|teger = |
|000003f0| 30 0d 09 6d 79 52 65 63 | 2e 6d 79 52 65 61 6c 20 |0..myRec|.myReal |
|00000400| 3d 20 36 2e 32 0d 09 6d | 79 52 65 63 2e 6d 79 53 |= 6.2..m|yRec.myS|
|00000410| 74 72 69 6e 67 20 3d 20 | 27 48 65 6c 6c 6f 27 0d |tring = |'Hello'.|
|00000420| 09 6d 79 52 65 63 2e 6d | 79 46 6c 61 67 73 20 3d |.myRec.m|yFlags =|
|00000430| 20 31 30 0d 09 6d 79 4c | 69 73 74 20 3d 20 32 0d | 10..myL|ist = 2.|
|00000440| 09 6f 6c 64 54 69 63 6b | 73 20 3d 20 30 0d 09 74 |.oldTick|s = 0..t|
|00000450| 68 65 52 65 61 6c 20 3d | 20 36 2e 30 0d 0d 43 20 |heReal =| 6.0..C |
|00000460| 49 6e 69 74 69 61 6c 69 | 7a 65 20 46 61 63 65 49 |Initiali|ze FaceI|
|00000470| 74 0d 20 20 20 20 20 20 | 66 52 65 63 2e 75 4e 61 |t. |fRec.uNa|
|00000480| 6d 65 20 3d 20 27 76 44 | 65 6d 6f 2e 52 73 72 63 |me = 'vD|emo.Rsrc|
|00000490| 27 0d 20 20 20 20 20 20 | 63 61 6c 6c 20 46 61 63 |'. |call Fac|
|000004a0| 65 49 74 28 30 2c 44 6f | 49 6e 69 74 2c 30 2c 30 |eIt(0,Do|Init,0,0|
|000004b0| 2c 30 2c 30 29 0d 0d 43 | 20 4f 70 65 6e 20 4d 6f |,0,0)..C| Open Mo|
|000004c0| 64 65 6c 65 73 73 20 57 | 69 6e 64 6f 77 20 75 73 |deless W|indow us|
|000004d0| 69 6e 67 20 46 57 4e 44 | 20 31 30 30 30 0d 09 63 |ing FWND| 1000..c|
|000004e0| 61 6c 6c 20 46 61 63 65 | 49 74 28 30 2c 4e 65 77 |all Face|It(0,New|
|000004f0| 57 6e 64 2c 31 30 30 30 | 2c 31 2c 30 2c 30 29 0d |Wnd,1000|,1,0,0).|
|00000500| 0d 20 20 20 20 20 20 64 | 6f 20 77 68 69 6c 65 20 |. d|o while |
|00000510| 28 2e 74 72 75 65 2e 29 | 0d 20 20 20 20 20 20 20 |(.true.)|. |
|00000520| 20 63 61 6c 6c 20 46 61 | 63 65 49 74 28 30 2c 44 | call Fa|ceIt(0,D|
|00000530| 6f 4c 6f 6f 70 2c 30 2c | 30 2c 30 2c 30 29 0d 43 |oLoop,0,|0,0,0).C|
|00000540| 20 53 74 61 6e 64 61 72 | 64 20 22 41 62 6f 75 74 | Standar|d "About|
|00000550| 22 20 4d 65 6e 75 20 49 | 74 65 6d 20 53 65 6c 65 |" Menu I|tem Sele|
|00000560| 63 74 69 6f 6e 0d 09 20 | 20 69 66 20 28 28 66 52 |ction.. | if ((fR|
|00000570| 65 63 2e 75 4d 65 6e 75 | 49 44 20 3d 3d 20 31 30 |ec.uMenu|ID == 10|
|00000580| 31 29 2e 61 6e 64 2e 28 | 66 52 65 63 2e 75 4d 65 |1).and.(|fRec.uMe|
|00000590| 6e 75 49 74 65 6d 20 3d | 3d 20 31 29 29 20 74 68 |nuItem =|= 1)) th|
|000005a0| 65 6e 0d 09 20 20 20 20 | 66 52 65 63 2e 75 53 74 |en.. |fRec.uSt|
|000005b0| 72 69 6e 67 20 3d 20 27 | 44 65 6d 6f 6e 73 74 72 |ring = '|Demonstr|
|000005c0| 61 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 75 73 65 |ation of| the use|
|000005d0| 20 6f 66 20 56 69 65 77 | 49 74 27 0d 20 20 20 20 | of View|It'. |
|000005e0| 20 2b 2f 2f 63 68 61 72 | 28 31 33 29 2f 2f 27 77 | +//char|(13)//'w|
|000005f0| 69 6e 64 6f 77 73 20 69 | 6e 20 61 20 46 61 63 65 |indows i|n a Face|
|00000600| 49 74 2d 62 61 73 65 64 | 20 70 72 6f 67 72 61 6d |It-based| program|
|00000610| 2e 27 0d 09 20 20 20 20 | 63 61 6c 6c 20 46 61 63 |.'.. |call Fac|
|00000620| 65 49 74 28 30 2c 53 68 | 6f 53 74 72 2c 33 2c 31 |eIt(0,Sh|oStr,3,1|
|00000630| 32 2c 28 31 20 2b 20 28 | 34 30 39 2a 36 35 35 33 |2,(1 + (|409*6553|
|00000640| 36 29 29 2c 30 29 0d 43 | 20 48 69 74 20 69 6e 20 |6)),0).C| Hit in |
|00000650| 4d 6f 64 65 6c 65 73 73 | 20 57 69 6e 64 6f 77 27 |Modeless| Window'|
|00000660| 73 20 22 4f 70 65 6e 20 | 4d 6f 64 61 6c 22 20 42 |s "Open |Modal" B|
|00000670| 75 74 74 6f 6e 0d 09 20 | 20 65 6c 73 65 20 69 66 |utton.. | else if|
|00000680| 20 28 28 66 52 65 63 2e | 75 4d 65 6e 75 49 44 20 | ((fRec.|uMenuID |
|00000690| 3d 3d 20 31 30 30 30 29 | 2e 61 6e 64 2e 28 66 52 |== 1000)|.and.(fR|
|000006a0| 65 63 2e 77 63 48 69 74 | 20 3d 3d 20 32 29 29 20 |ec.wcHit| == 2)) |
|000006b0| 74 68 65 6e 0d 09 20 20 | 20 20 63 61 6c 6c 20 46 |then.. | call F|
|000006c0| 61 63 65 49 74 28 30 2c | 4e 65 77 57 6e 64 2c 31 |aceIt(0,|NewWnd,1|
|000006d0| 30 30 31 2c 30 2c 30 2c | 30 29 20 20 21 4f 70 65 |001,0,0,|0) !Ope|
|000006e0| 6e 20 4d 6f 64 61 6c 20 | 57 69 6e 64 6f 77 0d 09 |n Modal |Window..|
|000006f0| 20 20 20 20 64 6f 20 77 | 68 69 6c 65 20 28 2e 74 | do w|hile (.t|
|00000700| 72 75 65 2e 29 0d 09 20 | 20 20 20 20 20 63 61 6c |rue.).. | cal|
|00000710| 6c 20 46 61 63 65 49 74 | 28 30 2c 4d 64 6c 57 6e |l FaceIt|(0,MdlWn|
|00000720| 64 2c 31 30 30 31 2c 30 | 2c 30 2c 30 29 20 20 21 |d,1001,0|,0,0) !|
|00000730| 50 72 6f 63 65 73 73 20 | 4d 6f 64 61 6c 20 45 76 |Process |Modal Ev|
|00000740| 65 6e 74 73 0d 09 09 69 | 66 20 28 66 52 65 63 2e |ents...i|f (fRec.|
|00000750| 77 63 48 69 74 20 3d 3d | 20 2d 31 29 20 74 68 65 |wcHit ==| -1) the|
|00000760| 6e 09 20 20 20 20 21 48 | 69 74 20 69 6e 20 43 6c |n. !H|it in Cl|
|00000770| 6f 73 65 20 42 6f 78 0d | 09 09 20 20 65 78 69 74 |ose Box.|.. exit|
|00000780| 0d 09 09 65 6c 73 65 20 | 69 66 20 28 66 52 65 63 |...else |if (fRec|
|00000790| 2e 77 63 48 69 74 20 3d | 3d 20 31 29 20 74 68 65 |.wcHit =|= 1) the|
|000007a0| 6e 20 20 20 20 21 48 69 | 74 20 69 6e 20 22 4f 70 |n !Hi|t in "Op|
|000007b0| 65 6e 20 4e 65 73 74 65 | 64 22 0d 09 09 20 20 6d |en Neste|d"... m|
|000007c0| 79 50 74 72 20 3d 20 25 | 6c 6f 63 28 6d 79 52 65 |yPtr = %|loc(myRe|
|000007d0| 63 29 0d 09 09 20 20 63 | 61 6c 6c 20 46 61 63 65 |c)... c|all Face|
|000007e0| 49 74 28 30 2c 4e 65 77 | 57 6e 64 2c 31 30 30 32 |It(0,New|Wnd,1002|
|000007f0| 2c 30 2c 31 31 30 2c 6d | 79 50 74 72 29 21 4f 70 |,0,110,m|yPtr)!Op|
|00000800| 65 6e 20 4e 65 73 74 65 | 64 20 4d 6f 64 61 6c 0d |en Neste|d Modal.|
|00000810| 09 09 20 20 63 61 6c 6c | 20 46 61 63 65 49 74 28 |.. call| FaceIt(|
|00000820| 30 2c 47 65 74 43 74 6c | 2c 31 30 30 32 2c 30 2c |0,GetCtl|,1002,0,|
|00000830| 33 2c 33 29 20 20 20 20 | 21 4c 69 6e 6b 20 53 63 |3,3) |!Link Sc|
|00000840| 72 6f 6c 6c 61 62 6c 65 | 20 4c 69 73 74 0d 09 09 |rollable| List...|
|00000850| 20 20 63 61 6c 6c 20 46 | 61 63 65 49 74 28 30 2c | call F|aceIt(0,|
|00000860| 4c 6e 6b 43 74 6c 2c 66 | 52 65 63 2e 63 43 6f 6e |LnkCtl,f|Rec.cCon|
|00000870| 74 72 6f 6c 2c 25 6c 6f | 63 28 6d 79 4c 69 73 74 |trol,%lo|c(myList|
|00000880| 29 2c 32 2c 30 29 0d 09 | 09 20 20 63 61 6c 6c 20 |),2,0)..|. call |
|00000890| 46 61 63 65 49 74 28 30 | 2c 47 65 74 43 74 6c 2c |FaceIt(0|,GetCtl,|
|000008a0| 31 30 30 32 2c 30 2c 32 | 2c 33 29 09 20 20 21 53 |1002,0,2|,3). !S|
|000008b0| 65 74 20 4f 76 65 72 72 | 69 64 65 20 50 72 6f 63 |et Overr|ide Proc|
|000008c0| 0d 09 09 20 20 63 61 6c | 6c 20 46 61 63 65 49 74 |... cal|l FaceIt|
|000008d0| 28 30 2c 4f 76 72 43 74 | 6c 2c 66 52 65 63 2e 63 |(0,OvrCt|l,fRec.c|
|000008e0| 43 6f 6e 74 72 6f 6c 2c | 4f 76 65 72 50 72 6f 63 |Control,|OverProc|
|000008f0| 2c 30 2c 30 29 0d 09 09 | 20 20 63 61 6c 6c 20 46 |,0,0)...| call F|
|00000900| 61 63 65 49 74 28 30 2c | 53 65 74 56 61 6c 2c 31 |aceIt(0,|SetVal,1|
|00000910| 30 30 32 2c 30 2c 30 2c | 30 29 09 20 20 21 53 65 |002,0,0,|0). !Se|
|00000920| 74 20 4c 69 6e 6b 65 64 | 20 56 61 6c 75 65 73 0d |t Linked| Values.|
|00000930| 09 09 20 20 68 65 6c 70 | 53 68 6f 77 6e 20 3d 20 |.. help|Shown = |
|00000940| 2e 66 61 6c 73 65 2e 0d | 09 09 20 20 64 6f 20 77 |.false..|.. do w|
|00000950| 68 69 6c 65 20 28 2e 74 | 72 75 65 2e 29 0d 09 09 |hile (.t|rue.)...|
|00000960| 20 20 20 20 63 61 6c 6c | 20 46 61 63 65 49 74 28 | call| FaceIt(|
|00000970| 30 2c 4d 64 6c 57 6e 64 | 2c 31 30 30 32 2c 2d 32 |0,MdlWnd|,1002,-2|
|00000980| 2c 30 2c 30 29 20 21 50 | 72 6f 63 65 73 73 20 4d |,0,0) !P|rocess M|
|00000990| 6f 64 61 6c 20 45 76 65 | 6e 74 73 0d 09 09 20 20 |odal Eve|nts... |
|000009a0| 20 20 69 66 20 28 66 52 | 65 63 2e 75 4d 65 6e 75 | if (fR|ec.uMenu|
|000009b0| 49 44 20 3d 3d 20 30 29 | 20 74 68 65 6e 20 20 20 |ID == 0)| then |
|000009c0| 20 20 20 20 21 4e 6f 20 | 4d 65 73 73 61 67 65 0d | !No |Message.|
|000009d0| 09 09 20 20 20 20 20 20 | 6e 65 77 54 69 63 6b 73 |.. |newTicks|
|000009e0| 20 3d 20 54 69 63 6b 43 | 6f 75 6e 74 28 29 0d 09 | = TickC|ount()..|
|000009f0| 09 09 69 66 20 28 6e 65 | 77 54 69 63 6b 73 20 3e |..if (ne|wTicks >|
|00000a00| 20 6f 6c 64 54 69 63 6b | 73 20 2b 20 36 30 29 20 | oldTick|s + 60) |
|00000a10| 74 68 65 6e 0d 09 09 09 | 20 20 6f 6c 64 54 69 63 |then....| oldTic|
|00000a20| 6b 73 20 3d 20 6e 65 77 | 54 69 63 6b 73 0d 09 09 |ks = new|Ticks...|
|00000a30| 09 20 20 63 61 6c 6c 20 | 46 61 63 65 49 74 28 30 |. call |FaceIt(0|
|00000a40| 2c 47 65 74 43 74 6c 2c | 31 30 30 32 2c 30 2c 32 |,GetCtl,|1002,0,2|
|00000a50| 2c 38 29 0d 09 09 09 20 | 20 63 61 6c 6c 20 53 65 |,8).... | call Se|
|00000a60| 74 43 74 6c 56 61 6c 75 | 65 28 25 76 61 6c 34 28 |tCtlValu|e(%val4(|
|00000a70| 66 52 65 63 2e 63 43 6f | 6e 74 72 6f 6c 29 2c 0d |fRec.cCo|ntrol),.|
|00000a80| 20 20 20 20 20 2b 09 09 | 09 25 76 61 6c 32 28 6d | +..|.%val2(m|
|00000a90| 6f 64 28 66 52 65 63 2e | 63 56 61 6c 75 65 2c 34 |od(fRec.|cValue,4|
|00000aa0| 29 20 2b 20 31 29 29 0d | 09 09 09 65 6e 64 20 69 |) + 1)).|...end i|
|00000ab0| 66 0d 09 09 20 20 20 20 | 65 6c 73 65 20 69 66 20 |f... |else if |
|00000ac0| 28 66 52 65 63 2e 77 76 | 48 69 74 20 3d 3d 20 31 |(fRec.wv|Hit == 1|
|00000ad0| 29 20 74 68 65 6e 09 20 | 20 21 48 69 74 20 69 6e |) then. | !Hit in|
|00000ae0| 20 56 69 65 77 20 23 31 | 0d 09 09 20 20 20 20 20 | View #1|... |
|00000af0| 20 69 66 20 28 66 52 65 | 63 2e 77 63 48 69 74 20 | if (fRe|c.wcHit |
|00000b00| 3d 3d 20 31 29 20 74 68 | 65 6e 09 20 20 21 48 69 |== 1) th|en. !Hi|
|00000b10| 74 20 69 6e 20 22 4f 4b | 22 20 42 75 74 74 6f 6e |t in "OK|" Button|
|00000b20| 0d 09 09 09 20 20 65 78 | 69 74 0d 09 09 09 65 6c |.... ex|it....el|
|00000b30| 73 65 20 69 66 20 28 66 | 52 65 63 2e 77 63 48 69 |se if (f|Rec.wcHi|
|00000b40| 74 20 3d 3d 20 32 29 20 | 74 68 65 6e 20 20 21 48 |t == 2) |then !H|
|00000b50| 69 74 20 69 6e 20 22 53 | 68 6f 77 2f 48 69 64 65 |it in "S|how/Hide|
|00000b60| 22 0d 09 09 09 20 20 69 | 66 20 28 68 65 6c 70 53 |".... i|f (helpS|
|00000b70| 68 6f 77 6e 29 20 74 68 | 65 6e 0d 09 09 09 20 20 |hown) th|en.... |
|00000b80| 20 20 63 61 6c 6c 20 46 | 61 63 65 49 74 28 30 2c | call F|aceIt(0,|
|00000b90| 53 68 6f 43 74 6c 2c 30 | 2c 30 2c 2d 33 2c 32 29 |ShoCtl,0|,0,-3,2)|
|00000ba0| 20 20 21 48 69 64 65 20 | 76 33 2c 20 53 68 6f 77 | !Hide |v3, Show|
|00000bb0| 20 76 32 0d 09 09 09 20 | 20 20 20 68 65 6c 70 53 | v2.... | helpS|
|00000bc0| 68 6f 77 6e 20 3d 20 2e | 66 61 6c 73 65 2e 0d 09 |hown = .|false...|
|00000bd0| 09 09 20 20 65 6c 73 65 | 0d 09 09 09 20 20 20 20 |.. else|.... |
|00000be0| 63 61 6c 6c 20 46 61 63 | 65 49 74 28 30 2c 53 68 |call Fac|eIt(0,Sh|
|00000bf0| 6f 43 74 6c 2c 30 2c 30 | 2c 2d 32 2c 33 29 20 20 |oCtl,0,0|,-2,3) |
|00000c00| 21 48 69 64 65 20 76 32 | 2c 20 53 68 6f 77 20 76 |!Hide v2|, Show v|
|00000c10| 33 0d 09 09 09 20 20 20 | 20 68 65 6c 70 53 68 6f |3.... | helpSho|
|00000c20| 77 6e 20 3d 20 2e 74 72 | 75 65 2e 0d 09 09 09 20 |wn = .tr|ue..... |
|00000c30| 20 65 6e 64 20 69 66 0d | 09 09 09 65 6e 64 20 69 | end if.|...end i|
|00000c40| 66 0d 09 09 20 20 20 20 | 65 6c 73 65 20 69 66 20 |f... |else if |
|00000c50| 28 66 52 65 63 2e 77 76 | 48 69 74 20 3d 3d 20 32 |(fRec.wv|Hit == 2|
|00000c60| 29 20 74 68 65 6e 20 20 | 20 20 21 48 69 74 20 69 |) then | !Hit i|
|00000c70| 6e 20 56 69 65 77 20 23 | 32 0d 09 09 20 20 20 20 |n View #|2... |
|00000c80| 20 20 69 66 20 28 28 66 | 52 65 63 2e 77 63 48 69 | if ((f|Rec.wcHi|
|00000c90| 74 20 3d 3d 20 36 29 2e | 6f 72 2e 28 66 52 65 63 |t == 6).|or.(fRec|
|00000ca0| 2e 77 63 48 69 74 20 3d | 3d 20 37 29 29 20 74 68 |.wcHit =|= 7)) th|
|00000cb0| 65 6e 0d 09 09 09 20 20 | 63 61 6c 6c 20 46 61 63 |en.... |call Fac|
|00000cc0| 65 49 74 28 30 2c 47 65 | 74 43 74 6c 2c 31 30 30 |eIt(0,Ge|tCtl,100|
|00000cd0| 32 2c 30 2c 32 2c 69 6e | 74 28 66 52 65 63 2e 77 |2,0,2,in|t(fRec.w|
|00000ce0| 63 48 69 74 29 29 0d 09 | 09 09 20 20 64 65 6c 74 |cHit))..|.. delt|
|00000cf0| 61 20 3d 20 30 2e 30 30 | 31 20 2a 20 28 66 52 65 |a = 0.00|1 * (fRe|
|00000d00| 63 2e 63 4d 69 6e 20 2d | 20 32 29 0d 09 09 09 20 |c.cMin -| 2).... |
|00000d10| 20 6d 79 52 65 63 2e 6d | 79 52 65 61 6c 20 3d 20 | myRec.m|yReal = |
|00000d20| 6d 79 52 65 63 2e 6d 79 | 52 65 61 6c 20 2b 20 64 |myRec.my|Real + d|
|00000d30| 65 6c 74 61 0d 09 09 09 | 20 20 63 61 6c 6c 20 46 |elta....| call F|
|00000d40| 61 63 65 49 74 28 30 2c | 53 65 74 56 61 6c 2c 30 |aceIt(0,|SetVal,0|
|00000d50| 2c 30 2c 32 2c 32 29 0d | 09 09 09 20 20 63 61 6c |,0,2,2).|... cal|
|00000d60| 6c 20 44 65 6c 61 79 28 | 25 76 61 6c 34 28 35 29 |l Delay(|%val4(5)|
|00000d70| 2c 66 52 65 63 2e 75 49 | 34 29 0d 09 09 09 65 6e |,fRec.uI|4)....en|
|00000d80| 64 20 69 66 0d 09 09 20 | 20 20 20 65 6e 64 20 69 |d if... | end i|
|00000d90| 66 0d 09 09 20 20 65 6e | 64 20 64 6f 0d 09 09 20 |f... en|d do... |
|00000da0| 20 63 61 6c 6c 20 46 61 | 63 65 49 74 28 30 2c 47 | call Fa|ceIt(0,G|
|00000db0| 65 74 56 61 6c 2c 31 30 | 30 32 2c 30 2c 30 2c 30 |etVal,10|02,0,0,0|
|00000dc0| 29 09 20 20 21 47 65 74 | 20 4c 69 6e 6b 65 64 20 |). !Get| Linked |
|00000dd0| 56 61 6c 75 65 73 0d 09 | 09 20 20 63 61 6c 6c 20 |Values..|. call |
|00000de0| 46 61 63 65 49 74 28 30 | 2c 45 6e 64 57 6e 64 2c |FaceIt(0|,EndWnd,|
|00000df0| 31 30 30 32 2c 30 2c 30 | 2c 30 29 09 20 20 21 43 |1002,0,0|,0). !C|
|00000e00| 6c 6f 73 65 20 4e 65 73 | 74 65 64 20 4d 6f 64 61 |lose Nes|ted Moda|
|00000e10| 6c 0d 09 09 65 6e 64 20 | 69 66 0d 09 20 20 20 20 |l...end |if.. |
|00000e20| 65 6e 64 20 64 6f 0d 09 | 20 20 20 20 63 61 6c 6c |end do..| call|
|00000e30| 20 46 61 63 65 49 74 28 | 30 2c 45 6e 64 57 6e 64 | FaceIt(|0,EndWnd|
|00000e40| 2c 31 30 30 31 2c 30 2c | 30 2c 30 29 20 20 21 43 |,1001,0,|0,0) !C|
|00000e50| 6c 6f 73 65 20 4d 6f 64 | 61 6c 20 57 69 6e 64 6f |lose Mod|al Windo|
|00000e60| 77 0d 43 20 48 69 74 20 | 69 6e 20 4d 6f 64 65 6c |w.C Hit |in Model|
|00000e70| 65 73 73 20 57 69 6e 64 | 6f 77 27 73 20 22 57 68 |ess Wind|ow's "Wh|
|00000e80| 79 20 56 69 65 77 49 74 | 3f 22 20 42 75 74 74 6f |y ViewIt|?" Butto|
|00000e90| 6e 0d 09 20 20 65 6c 73 | 65 20 69 66 20 28 28 66 |n.. els|e if ((f|
|00000ea0| 52 65 63 2e 75 4d 65 6e | 75 49 44 20 3d 3d 20 31 |Rec.uMen|uID == 1|
|00000eb0| 30 30 30 29 2e 61 6e 64 | 2e 28 66 52 65 63 2e 77 |000).and|.(fRec.w|
|00000ec0| 63 48 69 74 20 3d 3d 20 | 33 29 29 20 74 68 65 6e |cHit == |3)) then|
|00000ed0| 0d 09 20 20 20 20 63 61 | 6c 6c 20 46 61 63 65 49 |.. ca|ll FaceI|
|00000ee0| 74 28 30 2c 4e 65 77 57 | 6e 64 2c 31 30 30 33 2c |t(0,NewW|nd,1003,|
|00000ef0| 30 2c 30 2c 25 6c 6f 63 | 28 74 68 65 52 65 61 6c |0,0,%loc|(theReal|
|00000f00| 29 29 0d 09 20 20 20 20 | 63 61 6c 6c 20 46 61 63 |)).. |call Fac|
|00000f10| 65 49 74 28 30 2c 53 65 | 74 56 61 6c 2c 31 30 30 |eIt(0,Se|tVal,100|
|00000f20| 33 2c 30 2c 30 2c 30 29 | 0d 09 20 20 20 20 64 6f |3,0,0,0)|.. do|
|00000f30| 20 77 68 69 6c 65 20 28 | 2e 74 72 75 65 2e 29 0d | while (|.true.).|
|00000f40| 09 20 20 20 20 20 20 63 | 61 6c 6c 20 46 61 63 65 |. c|all Face|
|00000f50| 49 74 28 30 2c 4d 64 6c | 57 6e 64 2c 31 30 30 33 |It(0,Mdl|Wnd,1003|
|00000f60| 2c 30 2c 30 2c 30 29 0d | 09 09 69 66 20 28 66 52 |,0,0,0).|..if (fR|
|00000f70| 65 63 2e 77 63 48 69 74 | 20 3d 3d 20 31 29 20 65 |ec.wcHit| == 1) e|
|00000f80| 78 69 74 0d 09 20 20 20 | 20 65 6e 64 20 64 6f 0d |xit.. | end do.|
|00000f90| 09 20 20 20 20 63 61 6c | 6c 20 46 61 63 65 49 74 |. cal|l FaceIt|
|00000fa0| 28 30 2c 47 65 74 56 61 | 6c 2c 31 30 30 33 2c 30 |(0,GetVa|l,1003,0|
|00000fb0| 2c 30 2c 30 29 0d 09 20 | 20 20 20 63 61 6c 6c 20 |,0,0).. | call |
|00000fc0| 46 61 63 65 49 74 28 30 | 2c 45 6e 64 57 6e 64 2c |FaceIt(0|,EndWnd,|
|00000fd0| 31 30 30 33 2c 30 2c 30 | 2c 30 29 0d 09 20 20 65 |1003,0,0|,0).. e|
|00000fe0| 6e 64 20 69 66 0d 20 20 | 20 20 20 20 65 6e 64 20 |nd if. | end |
|00000ff0| 64 6f 0d 20 20 20 20 20 | 20 65 6e 64 0d 0d 43 20 |do. | end..C |
|00001000| 4e 4f 54 45 3a 20 55 73 | 65 20 6f 66 20 61 20 70 |NOTE: Us|e of a p|
|00001010| 72 6f 63 65 64 75 72 65 | 20 6c 69 6b 65 20 22 4f |rocedure| like "O|
|00001020| 76 65 72 50 72 6f 63 22 | 20 74 68 61 74 20 69 73 |verProc"| that is|
|00001030| 20 63 61 6c 6c 65 64 20 | 62 79 20 56 69 65 77 49 | called |by ViewI|
|00001040| 74 0d 43 20 72 65 71 75 | 69 72 65 73 20 74 68 61 |t.C requ|ires tha|
|00001050| 74 20 69 74 20 62 65 20 | 63 6f 6d 70 69 6c 65 64 |t it be |compiled|
|00001060| 20 77 69 74 68 20 74 68 | 65 20 22 2d 6b 22 20 6f | with th|e "-k" o|
|00001070| 70 74 69 6f 6e 20 73 65 | 74 2e 20 20 53 65 65 20 |ption se|t. See |
|00001080| 79 6f 75 72 0d 43 20 4d | 61 63 46 6f 72 74 72 61 |your.C M|acFortra|
|00001090| 6e 20 49 49 20 6d 61 6e | 75 61 6c 20 66 6f 72 20 |n II man|ual for |
|000010a0| 6d 6f 72 65 20 69 6e 66 | 6f 20 61 62 6f 75 74 20 |more inf|o about |
|000010b0| 74 68 65 20 22 2d 6b 22 | 20 63 6f 6d 70 69 6c 65 |the "-k"| compile|
|000010c0| 72 20 6f 70 74 69 6f 6e | 2e 0d 09 50 41 53 43 41 |r option|...PASCA|
|000010d0| 4c 20 53 55 42 52 4f 55 | 54 49 4e 45 20 4f 76 65 |L SUBROU|TINE Ove|
|000010e0| 72 50 72 6f 63 28 74 68 | 65 50 74 72 29 0d 09 76 |rProc(th|ePtr)..v|
|000010f0| 61 6c 75 65 20 74 68 65 | 50 74 72 0d 09 69 6d 70 |alue the|Ptr..imp|
|00001100| 6c 69 63 69 74 20 6e 6f | 6e 65 0d 09 69 6e 74 65 |licit no|ne..inte|
|00001110| 67 65 72 2a 34 20 4a 75 | 6d 70 49 74 2c 74 68 65 |ger*4 Ju|mpIt,the|
|00001120| 50 74 72 0d 09 69 6e 6c | 69 6e 65 20 28 4a 75 6d |Ptr..inl|ine (Jum|
|00001130| 70 49 74 20 3d 20 2f 7a | 27 32 32 35 37 27 2c 7a |pIt = /z|'2257',z|
|00001140| 27 32 30 35 31 27 2c 7a | 27 34 65 39 30 27 2f 29 |'2051',z|'4e90'/)|
|00001150| 0d 20 20 20 20 20 20 72 | 65 63 6f 72 64 20 2f 46 |. r|ecord /F|
|00001160| 61 63 65 52 65 63 2f 20 | 66 52 65 63 0d 20 20 20 |aceRec/ |fRec. |
|00001170| 20 20 20 63 6f 6d 6d 6f | 6e 2f 46 61 63 65 53 74 | commo|n/FaceSt|
|00001180| 75 66 66 2f 66 52 65 63 | 0d 09 69 66 20 28 66 52 |uff/fRec|..if (fR|
|00001190| 65 63 2e 75 43 6f 6d 6d | 61 6e 64 20 3d 3d 20 32 |ec.uComm|and == 2|
|000011a0| 36 34 29 20 74 68 65 6e | 09 21 61 20 6b 65 79 20 |64) then|.!a key |
|000011b0| 64 6f 77 6e 20 6d 65 73 | 73 61 67 65 3f 0d 09 20 |down mes|sage?.. |
|000011c0| 20 69 66 20 28 66 52 65 | 63 2e 75 50 61 72 61 6d | if (fRe|c.uParam|
|000011d0| 28 31 29 20 3d 3d 20 33 | 32 29 20 74 68 65 6e 09 |(1) == 3|2) then.|
|000011e0| 21 53 50 41 43 45 20 6b | 65 79 20 70 72 65 73 73 |!SPACE k|ey press|
|000011f0| 65 64 3f 0d 09 20 20 20 | 20 66 52 65 63 2e 75 50 |ed?.. | fRec.uP|
|00001200| 61 72 61 6d 28 31 29 20 | 3d 20 39 35 09 09 09 21 |aram(1) |= 95...!|
|00001210| 63 6f 6e 76 65 72 74 20 | 74 6f 20 55 4e 44 45 52 |convert |to UNDER|
|00001220| 4c 49 4e 45 0d 09 20 20 | 65 6e 64 20 69 66 0d 09 |LINE.. |end if..|
|00001230| 65 6e 64 20 69 66 0d 09 | 63 61 6c 6c 20 4a 75 6d |end if..|call Jum|
|00001240| 70 49 74 28 25 76 61 6c | 34 28 74 68 65 50 74 72 |pIt(%val|4(thePtr|
|00001250| 29 29 09 09 21 70 61 73 | 73 20 6d 65 73 73 61 67 |))..!pas|s messag|
|00001260| 65 20 74 6f 20 64 72 69 | 76 65 72 0d 09 65 6e 64 |e to dri|ver..end|
|00001270| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001280| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00001290| 70 01 b0 6d dd 72 6c 0a | 4e ad 04 fa 48 6d 04 fa |p..m.rl.|N...Hm..|
|000012a0| a9 f1 70 02 b0 6d dd 72 | 6c 0a 4e ad 05 02 48 6d |..p..m.r|l.N...Hm|
|000012b0| 09 76 44 65 6d 6f 41 46 | 2e 66 02 00 00 00 50 61 |.vDemoAF|.f....Pa|
|000012c0| 72 74 53 49 54 78 00 00 | 00 00 00 00 00 00 00 00 |rtSITx..|........|
|000012d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 a9 06 e5 31 00 00 | 00 00 00 00 01 ac 41 20 |.....1..|......A |
|00001300| 2d 20 20 65 72 72 6f 72 | 20 61 63 63 65 73 73 69 |- error| accessi|
|00001310| 6e 67 20 6c 6f 63 61 6c | 20 73 79 6d 62 6f 6c 20 |ng local| symbol |
|00001320| 74 61 62 6c 65 2e 4e 56 | 00 00 4e ba fe 36 4e 5e |table.NV|..N..6N^|
|00001330| 4e 75 cf 50 54 49 4d 49 | 5a 45 00 00 00 00 17 72 |Nu.PTIMI|ZE.....r|
|00001340| 03 80 00 02 4e 56 ff fe | 3b 6d ba 9a dd 7e 20 6d |....NV..|;m...~ m|
|00001350| dd 82 20 50 30 2d dd 7e | c1 fc 01 1a 12 30 00 ee |.. P0-.~|.....0..|
|00001360| 67 10 42 67 48 6d fe 0e | 4e ad 0e ba 1b 5f bb a2 |g.BgHm..|N...._..|
|00001370| 60 20 42 67 20 6d dd 82 | 20 50 30 2d dd 7e c1 fc |` Bg m..| P0-.~..|
|00001380| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 63 65 57 |...H..Mo|naco.ceW|
|00001390| 61 72 65 20 31 39 39 31 | 2d 39 32 2e 20 20 41 6c |are 1991|-92. Al|
|000013a0| 6c 20 52 69 67 68 00 06 | 00 06 00 2a 00 04 01 38 |l Righ..|...*...8|
|000013b0| 01 bd 00 2a 00 04 01 38 | 01 bd a8 c3 f6 8e 00 00 |...*...8|........|
|000013c0| 00 77 00 00 00 77 00 00 | 00 00 01 00 00 00 00 1e |.w...w..|........|
|000013d0| 00 2a 00 04 01 38 01 bd | 00 2a 00 04 01 38 01 bd |.*...8..|.*...8..|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 05 |.....n..|.n...>..|
|00001400| 39 54 05 26 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |9T.&....|.>..MPSR|
|00001410| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00001420| 03 f0 ff ff 00 00 00 4c | 00 0b 35 88 00 00 00 00 |.......L|..5.....|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+